# This file demonstrates how to compile the hello-world project
# on Linux. Just run "make" to compile it.

GPP=g++-4.4
OUTFILE="myfuncs.so"

COMPILE_FLAGS=-m32 -c -O3 -fPIC -I../ -fvisibility=hidden

all:
	$(GPP) $(COMPILE_FLAGS) ../SDK/*.cpp
	$(GPP) $(COMPILE_FLAGS) myfuncs.cpp
#	$(GPP) $(COMPILE_FLAGS) binds.cpp
	$(GPP) -m32 -fshort-wchar -shared -o $(OUTFILE) *.o
	rm *.o
